<local:DocumentBase x:Class="WPFExcelReport.SXNWI09"
                    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
                    xmlns:local="clr-namespace:ReflectionStudio.Components.UserControls;assembly=ReflectionStudio.Core" 
                     xmlns:ucd="clr-namespace:ReflectionStudio.Controls;assembly=ReflectionStudio.Controls" 
                    xmlns:Localization="clr-namespace:Localization;assembly=Localization" 
                    xmlns:STK="clr-namespace:WPFExcelReport;assembly=TICC_STOCKM" 
                    xmlns:DGB="clr-namespace:WPFExcelReport;assembly=TICC_STOCK" 
                     xmlns:CHG="clr-namespace:WPFExcelReport;assembly=TICC_STOCKCHG" 
                     xmlns:WBW="clr-namespace:WPFExcelReport;assembly=TICC_WBBEW" 
                    Name="TV"
                    Loaded="Window_Loaded"
                    Background="White" 
     >
    <local:DocumentBase.Resources>
        <ucd:Divideby10  x:Key="d10"/>
        <ucd:Divideby100  x:Key="d100"/>
        <ucd:Divideby1000  x:Key="d1000"/>
        <ucd:GB2312Convert8859P1  x:Key="gb2312"/>
        <ucd:PNumConverter  x:Key="pnum"/> 
    </local:DocumentBase.Resources>
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto"></RowDefinition>
            <RowDefinition Height="1*" ></RowDefinition>
            <RowDefinition Height="1*" ></RowDefinition>
        </Grid.RowDefinitions>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="1*"></ColumnDefinition>
            <ColumnDefinition Width="1*"></ColumnDefinition>
        </Grid.ColumnDefinitions>
        <STK:TFWI09 Name="cI" Grid.Row="1" Grid.Column="0" Grid.ColumnSpan="2"/>
        <TabControl Grid.Row="2" Grid.Column="0"  Grid.ColumnSpan="2">
            <TabItem Header="{Binding Source={Localization:Translate Word=明细}}">
                <Grid>
                    <Grid.RowDefinitions>
                        <RowDefinition Height="Auto"></RowDefinition>
                        <RowDefinition Height="1*"></RowDefinition>
                    </Grid.RowDefinitions>
                    <Grid.ColumnDefinitions>
                        <ColumnDefinition Width="1*"></ColumnDefinition>
                        <ColumnDefinition Width="1*"></ColumnDefinition>
                    </Grid.ColumnDefinitions>
                    <CHG:TFSTKCHG  Grid.Row="1" Grid.Column="0" Name="cChg"
                                   IsRange="True"
                                   DTSTART="{Binding DTSTART,ElementName=cI}"
                                   DTEND="{Binding DTEND,ElementName=cI}"
                                   ORDERNUM="{Binding KEY,ElementName=cI}"
                                   />
                    <WBW:TCWB14  Grid.Row="1" Grid.Column="1"
                                   ORDERNUM="{Binding KEY,ElementName=cChg}"
                                   />
                </Grid>
            </TabItem>
        </TabControl>
    </Grid>
</local:DocumentBase>
